namespace Eno.Domain.Repositories;

public interface IRoleToPermissionRepository
{
    Task<int> AppointPermissionToRole(Guid rId, Guid pId);

    Task<int> RemovePermissionInRole(Guid rId);
    
    Task<IEnumerable<object>> GetRolePermissionsAsync(Guid roleId);

    Task<int> RemoveSpecificPermissionInRole(Guid roleId, Guid permissionId);
}